﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
<%@ Import Namespace="OrderPortal.Controllers" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	出库单明细
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
 <div class="wrapper">	 
	<div class="content">
		<table class="tabInfo" cellpadding="0" cellspacing="0">
			<colgroup valign="middle">
						<col width="95px">
						<col />
			</colgroup>
			<tbody>
				<tr>
					<td class="txtRt">客户：</td>
					<td><%=ViewData["customerName"] %></td>
				</tr>	
				<tr>
					<td class="txtRt">发货单号：</td>
					<td><%=ViewData["shippingRequestId"] %></td>
				</tr>				 			 				 
				<tr>
					<td class="txtRt">配货日期：</td>
					<td><%=ViewData["cDate"] %></td>
				</tr>
				<tr>
					<td class="txtRt">配货时间：</td>
					<td><%=ViewData["cTime"] %></td>
				</tr>
				<tr>
					<td class="txtRt">当前状态：</td>
					<td><%=ViewData["cStatus"] %></td>
				</tr>			
				<tr>
					<td class="txtRt">发货明细：</td>
					<td>
						<table class="baseInfo" cellpadding="0" cellspacing="0">
							<colgroup valign="middle">
								<col width="200px">
								<col width="150px">
								<col width="50px">
								<col width="80px">
								<col width="80px">
								<col width="60px">
								<col />
							</colgroup>
							<thead>
								<th>品名</th>
								<th>规格</th>
								<th>单位</th>
								<th>批号</th>
								<th>效期</th>
								<th>数量</th>								 
							</thead>
							<tbody>
							 <%foreach (var item in (List<OrderDetail>)ViewData["shippingRequestDetail"]) 
                     {%>
								<tr>
								    <td class="serviceInfo last">
										 <%=item.inventoryName %>
									</td>
									<td class="serviceInfo last">
										 <%=item.inventorystd %>
									</td>
									   <td class="serviceInfo last">
										    <%=item.unit %>
									</td>
									<td class="serviceInfo last">
										 <%=item.BatchCode %>
									</td>
									<td class="serviceInfo last">
										 <%=item.VDate %>
									</td>
									   <td class="serviceInfo last">
										    <%=item.quantity %>
									</td>
								</tr>
									<%}%>		
							
							</tbody>
						</table>
					</td>
				</tr>				
			    <tr>
					<td class="txtRt">备注：</td>
					<td><%=ViewData["memo"] %></td>
				</tr>
			</tbody>
		</table>
	</div> 
</div>
</asp:Content>